package com.baidu.bas.core.acl;

import com.baidu.bas.core.view.EruptModel;
import com.baidu.bas.core.view.TableQueryVo;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.io.Serializable;

/**
 * @author liuzhenchuan@foxmail.com
 * @date 2021/6/8
 */
public class NoneAcl implements Acl{


    @Override
    public void beforeExecuteQuery(TableQueryVo tableQueryVo, EruptModel eruptModel, HttpServletRequest request) {

    }

    @Override
    public void beforeExecuteView(TableQueryVo tableQueryVo, EruptModel eruptModel, Serializable id, HttpServletRequest request) {

    }

    @Override
    public void beforeExecuteDelete(EruptModel eruptModel, Object value, Serializable id, HttpServletRequest request) {

    }

    @Override
    public void beforeExecuteAdd(EruptModel eruptModel, Object value, HttpServletRequest request) {

    }

    @Override
    public void beforeExecuteEdit(EruptModel eruptModel, Object value, Serializable id, HttpServletRequest request) {

    }
}
